package leetcode.code0778;

import leetcode.IDebug;
import leetcode.helper.HelpDebug;

public abstract class Solution778 implements IDebug {

    public abstract int swimInWater(int[][] grid);

	@Override
	public void debug1() {
		String str ="[[0,2],[1,3]]";
		int r = this.swimInWater(HelpDebug.str2array1(str));
		int e = 3;
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug2() {
		String str ="[[0,1,2,3,4],[24,23,22,21,5],[12,13,14,15,16],[11,17,18,19,20],[10,9,8,7,6]]";
		int r = this.swimInWater(HelpDebug.str2array1(str));
		int e = 16;
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug3() {
		// TODO Auto-generated method stub

	}

	@Override
	public void debug4() {
		// TODO Auto-generated method stub

	}

}
